<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><{$env.conf.desktop.background.title}></title>
<link rel="shortcut icon" href="../favicon.gif" type="image/gif" />
<link href="<{$env.app.res_url}>/css/framework.css" rel="stylesheet" type="text/css"  />
<link href="<{$env.app.res_url}>/css/default/login.css" rel="stylesheet" type="text/css"  />
</head>
<body>
	<{$top_shopex_cn_call}>


      <div class="logo clearfix" style="margin-top:3px;">
        <h3><{$env.conf.desktop.logo}><span><{$env.conf.desktop.logo_desc}></span></h3>
      </div>
      <div class="signup" style="position:absolute;left:5px;width:430px;height:270px;">
        <div>
          <div class="ifram">
            <div class="publicize" id="publicize">
			  <{assign var=mapp value=$env.conf.base.system.main_app}>
				<iframe style="visibility:hidden;display:block;" name="publicize-iframe" frameborder="0" scrolling="no" height="100%" width="100%" allowTransparency="true"   src="http://top.shopex.cn/ecos/welcome.php?cross_call_url=<{$cross_call_url}>&f=<{$mapp.app_id}>&pid=<{if $env.conf.desktop.product_id}><{$env.conf.desktop.product_id}><{else}><{$product_key}><{/if}>" > 
				</iframe>
            </div>
          </div>
          <div class="window" style="position:absolute;left:50px;">
            <div class="window-tab">
              <ul>
                <li class="window-tab-current" >
                  <div class="window-tabcurrent-left"></div>
                  <div class="window-tabcurrent-mid"><{foreach from=$passports item=item}><{$item.name}><{/foreach}></div>
                  <div class="window-tabcurrent-right"></div>
                </li>
              </ul>
            </div>
            <div class="window-main"> <{foreach from=$passports item=item}>
              <div class="passport-bd"><{$item.html}>
              <{/foreach}> </div>
          </div>
        </div>
      

<{if $desktop_login_verify}><{$desktop_login_verify}><{/if}>

<script>
void function(){
 var sURL = location.href;
 var sTitle = document.title;
 addFavorite = function(){
        try
        {
            window.external.addFavorite(sURL, sTitle);
        }
        catch (e)
        {
            try
            {
                window.sidebar.addPanel(sTitle, sURL, "");
            }
            catch (e)
            {
				var c = "ctrl";
				if(navigator.platform.match(/mac/i)){
					 c = "command"
				}
                alert("<{t}>请使用键盘上<{/t}>\n\n"+c+"+D\n\n<{t}>进行收藏操作。<{/t}>");
            }
        }
		return false;
    }
   createShortcut = function(){

	   var sname  =  document.title.replace(/\s/ig,'');
	   var surl   =	 location.href;
	   document.createshortcuts.furl.value = surl;
	   document.createshortcuts.fname.value = sname;
       document.createshortcuts.submit();
   }
 }();


</script>
<form action="index.php?app=desktop&ctl=createshortcuts" name="createshortcuts" target="_blank" method="post">
	<input type="hidden" name="furl" value=""/>
	<input type="hidden" name="fname" value=""/>
</form>
</body>
</html>
